public  class IfDemo {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;

        if (a>b){
            System.out.println("a大于b");
        }
        else  if(a == b){
            System.out.println("a等于b");
        }
        else {
            System.out.println("小于b");
        }

    }
}